package com.struts2.service.impl;  
  
import com.struts2.service.LoginService;  
public class LoginServiceImpl implements LoginService {  
  
    public boolean isLogin(String userName, String password) { 
        if("hello".equals(userName) && "world".equals(password))  
            return true;  
        else   
            return false;  
    }  
} 
